"""
语法:
def 函数名(形参1,形参2,形参3......):
    代码块
# 可以取leedcode 牛客网去刷题了

注意点:
 函数必须先定义,在使用
 如果不调用,就不会运行
"""
#求二个数之和
# a=12
# b=40
# sum1=a+b
# print(sum1)
# a=12
# b=22
# sum1=a+b
# print(sum1)

def sum_num(a,b):
    print(a+b)

# sum_num(12,40)
# sum_num(12,22)
# sum_num(22,32)
# sum_num(22,32)
# sum_num(22,32)
# sum_num(22,32)
# sum_num(22,32)






